package com.zkthink.ceres.applet.user.controller;

import com.zkthink.base.R;
import com.zkthink.ceres.applet.authority.domain.entity.AppletMember;
import com.zkthink.ceres.applet.authority.service.AppletMemberService;
import com.zkthink.ceres.applet.server.service.PcServerCategoryService;
import com.zkthink.ceres.member.service.MemberService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author cmz
 * @Date 2024-05-29 10:43
 */
@Slf4j
@Validated
@RestController
@RequestMapping("/applet/customerService")
@Api(value = "customerService", tags = "客服信息")
public class CustomerServiceController {
    @Autowired
    private AppletMemberService appletMemberService;

    @ApiOperation("查询客服")
    @GetMapping("/selectCustomer")
    public R selectCustomer() {
        return R.success(appletMemberService.selectCustomerList());
    }
    
}
